package com.jprocms.module.cms.controller.admin.content.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class ContentFileVo {
    /**
     * 文件名称
     */
    @Length(max = 150)
    @NotNull
    private String name = "";
    /**
     * 文件URL
     */
    @Length(max = 255)
    @NotNull
    private String url = "";

    /**
     * 文件大小
     */
    private Long size;
}

